Command Line

OpenCPN has a minimal command line interface (CLI)

The options:

[/h] Show usage syntax. Linux also accepts [–help]

[/p ] The portable option is explained here → Portable OpenCPN

[/fullscreen ] Starts OpenCPN in FullScreen mode.

[/no_opengl] A total switch-off of OpenGL, in a more thorough way than in “Options”. Read more in OpenGL .

[/rebuild_gl_raster_cache] Rebuild OpenGL raster cache on start. Read more in Options Setting

[/parse_all_enc] Convert all S-57 charts to OpenCPN's internal format on start.

[/unit_test_1 <num>] Display a slideshow of <num> charts and then exit. Zero or negative <num> specifies no limit. This command test cycles through all possible charts in the currently loaded chart database, adjusting the viewport to show the loaded chart automatically. The value of this test is clear: it provide an unattended stress test of OpenCPN, It is most fun to watch in quilt mode….. The test runs until all charts in the database have been visited once. A side-effect of this switch is that it can be used to process a set of ENC charts into SENC files. The first, time consuming processing of ENC charts, can this way be done unattended.

For Windows

When using a .bat file to launch OpenCPN, you may type this MSDOS line :

START /REALTIME C:"\Program Files"\OpenCPN/opencpn

Where:

START : MSDOS Command
/REALTIME : gives the highest priority to the program
C:"\program Files"\OpenCPN/opencpn : pathway where OpenCPN's Executable is downloaded
(specific to each windows version)